package stool.builderpattern;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/6
 */
public class PersonThinBuilder extends PersonBuilder{

    public PersonThinBuilder(String x, String y) {
        super(x, y);
    }

    @Override
    public void buildHead() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }

    @Override
    public void buildBody() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }

    @Override
    public void buildArmLeft() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }

    @Override
    public void buildArmRight() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }

    @Override
    public void buildLegLeft() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }

    @Override
    public void buildLegRight() {
        System.out.println(super.getX());
        System.out.println(super.getY());
    }
}
